<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title> - 写信</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <link rel="shortcut icon" href="favicon.ico">
    <link href="./public/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="./public/css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="./public/css/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="./public/css/plugins/summernote/summernote.css" rel="stylesheet">
    <link href="./public/css/plugins/summernote/summernote-bs3.css" rel="stylesheet">
    <link href="./public/css/animate.css" rel="stylesheet">
    <link href="./public/css/style.css?v=4.1.0" rel="stylesheet">
</head>

<body class="gray-bg">
    <div class="wrapper wrapper-content">
        <div class="row">
            <div class="col-sm-3">
                <div class="ibox float-e-margins">
                    <div class="ibox-content mailbox-content">
                        <div class="file-manager">
                            <a class="btn btn-block btn-primary compose-mail" href="./MessageSend">写信</a>
                            <div class="space-25"></div>
                            <h5>文件夹</h5>
                            <ul class="folder-list m-b-md" style="padding: 0">
                                <li>
                                    <a href="./index.jsp"> <i class="fa fa-inbox "></i> 收件箱 
                                    </a>
                                </li>
                                <li>
                                    <a href="./MessageSend"> <i class="fa fa-envelope-o"></i> 发信</a>
                                </li>
                                <li>
                                    <a href="./UserLogout"> <i class="fa fa-sign-out"></i> 退出</a>
                                </li>
                            </ul>
                            <div class="clearfix"></div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-sm-9 animated fadeInRight">
                <div class="mail-box-header">
                    <div class="pull-right tooltip-demo">
                        <a href="mailbox.html" class="btn btn-white btn-sm" data-toggle="tooltip" data-placement="top" title="存为草稿"><i class="fa fa-pencil"></i> 存为草稿</a>
                        <a href="mailbox.html" class="btn btn-danger btn-sm" data-toggle="tooltip" data-placement="top" title="放弃"><i class="fa fa-times"></i> 放弃</a>
                    </div>
                    <h2>
                    写信
                </h2>
                </div>
                <div class="mail-box">
                    <div class="mail-body">
                        <form class="form-horizontal" action="./MessageSend" method="post">
                            <div class="form-group">
                                <label class="col-sm-2 control-label">发送到：</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" value="${receiveUname}" placeholder="请输入收件人名称" name="receiveUname">
                                </div>
                            </div>
                            <div class="form-group" style="margin-top:20px;">
                                <label class="col-sm-2 control-label">内容：</label>
                                <div class="col-sm-10">
									<textarea class="form-control" rows="3" placeholder="请输入短信息内容" name="note"></textarea>
                                </div>
                            </div>
                            <div class="form-group" style="margin-top:20px;">
                            	<label class="col-sm-8"></label>
                            	<button type="submit" class="btn btn-primary col-sm-2">发送</button>
                            </div>
                        </form>
                    </div>
                    <div class="clearfix"></div>
                </div>
            </div>
        </div>
    </div>
    <!-- 全局js -->
    <script src="./public/js/jquery.min.js?v=2.1.4"></script>
    <script src="./public/js/bootstrap.min.js?v=3.3.6"></script>
    <!-- 自定义js -->
    <script src="./public/js/content.js?v=1.0.0"></script>
    <!-- iCheck -->
    <script src="./public/js/plugins/iCheck/icheck.min.js"></script>
    <!-- SUMMERNOTE -->
    <script src="./public/js/plugins/summernote/summernote.min.js"></script>
    <script src="./public/js/plugins/summernote/summernote-zh-CN.js"></script>
    <script>
    $(document).ready(function() {
        $('.i-checks').iCheck({
            checkboxClass: 'icheckbox_square-green',
            radioClass: 'iradio_square-green',
        });


        $('.summernote').summernote({
            lang: 'zh-CN'
        });

    });
    var edit = function() {
        $('.click2edit').summernote({
            focus: true
        });
    };
    var save = function() {
        var aHTML = $('.click2edit').code(); //save HTML If you need(aHTML: array).
        $('.click2edit').destroy();
    };
    </script>
</body>

</html>